package com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.common.converter;

import java.util.Map;

import org.flowable.bpmn.model.BaseElement;
import org.flowable.editor.language.json.converter.BaseBpmnJsonConverter;
import org.flowable.editor.language.json.converter.BpmnJsonConverter;

/**
 * @author lilh
 * @date 2019-03-04 20:38
 */
public class CustomBpmnJsonConverter extends BpmnJsonConverter {


    public static Map<String, Class<? extends BaseBpmnJsonConverter>> convertersToBpmnMap() {
        return BpmnJsonConverter.convertersToBpmnMap;
    }

    public static Map<Class<? extends BaseElement>, Class<? extends BaseBpmnJsonConverter>> convertersToJsonMap() {
        return BpmnJsonConverter.convertersToJsonMap;
    }

}
